<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!doctype html>
<html class="no-js">
<head>
  <title>订餐</title>
  <%@ include file="../../mobilehead_inc.jsp" %>
</head>

<body style="background:#FFFFCC">

<header data-am-widget="header" class="am-header am-header-default joan-head2 " style="background:#9999FF">
		
			<div class="am-header-left am-header-nav">
				<a href="javascript:history.back()" class="">
					<i class="am-icon-mail-reply"></i>
				</a>
			</div>
			<h1 class="am-header-title">
  	            <a href="/mobile/main" class="">我的订单</a>
            </h1>
            
      </div>
		</header>
		 <c:if test="${empty orderInfo}"><br/><div class="c-com-money" style="text-align: center"><span style="color: gray">当前还没有订单</span></div></c:if>
		<c:forEach items="${orderInfo}" var="li"> 
	  
		
		
		<div class="c-comment">
			<span class="c-comment-num">订单编号：${li.orderId}</span>
			<span class="c-comment-suc">
			<c:if test="${li.commStatus==1 and li.sendStatus==4}">待评价</c:if>
   		<c:if test="${li.sendStatus==4 }">交易完成</c:if>
   		<c:if test="${li.sendStatus==1 }">待发货</c:if>
   		<c:if test="${li.sendStatus==3 }">待收货</c:if>
   		<c:if test="${li.sendStatus==0 }">交易关闭</c:if></span>
		</div>
	
		
		<div class="c-comment-list" style="border: 0;">

			<a class="o-con" href="/mobile/ordercon?orderId=${li.orderId}" target="_self">
            	<div class="o-con-img"><img src="${li.commodityInfo.photo}"/></div>
                <div class="o-con-txt"><p>${li.commodityInfo.names }</p></div>
            	<div class="o-con-much"> </div>
            </a>
            <div class="c-com-money" style="text-align: center">金额：<span>￥ ${li.payPrice }&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: gray"><small>下单：&nbsp;${li.payTime }</small></span></span></div>
		</div>
	<hr style="border:2 dashed #987cb9" width="100%" color="#987cb9" size="5"/>
	</c:forEach>




<!--底部 -->
${bottom}


</body>
</html>